﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace QL_LichCT.DataLayer
{
    class QuyenDAL
    {
        public static object GetQuyen(string column, string value)
        {
            DataAccessHelper db = new DataAccessHelper();

            string select = String.Format("select {0} from QUYEN where maquyen = '{1}'", column, value);
            object quyen = db.GetVaule(select);
            return quyen;
        }
    }
}
